import {QMFetch} from 'qm-ux';

/**
 * 获取商品设置信息
*/
export const getSetting = () => QMFetch({url: 'tool/item', method: 'GET'});
/**
 * 设置商品信息
*/
export const handleSetting = (params) => QMFetch({url: 'tool/item', method: 'POST', body: params});